package com.hp.mybatis.pojo;


public class Order {

  private String id;
  private java.sql.Timestamp createTime;
  private String receivingAddress;
  private String userId;

  //用户对象
  private User user;

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }


  public java.sql.Timestamp getCreateTime() {
    return createTime;
  }

  public void setCreateTime(java.sql.Timestamp createTime) {
    this.createTime = createTime;
  }


  public String getReceivingAddress() {
    return receivingAddress;
  }

  public void setReceivingAddress(String receivingAddress) {
    this.receivingAddress = receivingAddress;
  }


  public String getUserId() {
    return userId;
  }

  public void setUserId(String userId) {
    this.userId = userId;
  }

  @Override
  public String toString() {
    return "Order{" +
            "id='" + id + '\'' +
            ", createTime=" + createTime +
            ", receivingAddress='" + receivingAddress + '\'' +
            ", userId='" + userId + '\'' +
            '}';
  }
}
